<template>
  <config-provider :local="zh_CN">
    <router-view v-slot="{ Component }">
      <component :is="Component" />
    </router-view>
  </config-provider>
</template>

<script lang="ts">
import { defineComponent } from 'vue'
import zh_CN from 'ant-design-vue/es/locale/zh_CN'
import { ConfigProvider } from 'ant-design-vue'

export default defineComponent({
  name: 'App',
  components: { ConfigProvider },
  setup() {
    return {
      zh_CN,
    }
  },
})
</script>
<style lang="scss">
@import '@/styles/index.scss';
</style>
